package com.wzw.shoppingcart.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.math.BigDecimal;

/**
 *@author wzw
 * 2023/4/6
 */
@Data
public class Discount {
    @TableId(type = IdType.AUTO)
    private Integer discountId;
    private String discountName;
    private String type;
    private BigDecimal discountRate;
    private BigDecimal discountMoney;
    private Integer useful;
    private BigDecimal conditionMoney;
    private Integer conditionAmount;
    private String gifts;

}
